<template>
  <div class="logo">
    <router-link :to="{name:'dashboard'}">
      <img style="width: 140px;height: 45px;
    text-align: center;
    display: block;
    margin: 8px 0px 0 24px;" src="~@/assets/logo.png">
      <!-- <h1 v-if="showTitle">{{ title }}</h1> -->
    </router-link>
  </div>
</template>

<script>

export default {
  name: 'Logo',
  props: {
    title: {
      type: String,
      default: 'Ant Design Pro',
      required: false
    },
    showTitle: {
      type: Boolean,
      default: true,
      required: false
    }
  }
}
</script>
